Application:!Chocks_2 &2000
Description:Chocks Away Extra Missions
Patch:Patch to fix bugs
File:!Chocks_2.Code &FFD
Transform:Copy

# Branch to the tail of the replay buffer overflow code to
# ensure R10-R12 are stored before exit on recon pic save
Location:&4800
ChangeWord:&EAFFF2AB &EA000183

# Reorder the replay buffer overflow code so that R10-R12 are
# stored last before exit
Location:&4E00
ChangeWord:&E58FA6BC &E51F4E00
ChangeWord:&E58FB6BC &E1530004
ChangeWord:&E58FC6BC &BA00000E
ChangeWord:&E51F4E0C &E3A00001
ChangeWord:&E1530004 &E50F0E1C
ChangeWord:&BA000008 &E58FA6A8
ChangeWord:&E3A00001 &E58FB6A8
ChangeWord:&E50F0E28 &E58FC6A8

# Fix a use of the deprecated condition code NV
Location:&5E58
ChangeWord:&F1A00000 &E1A00000

# Fix a write to address zero
Location:&87F0
ChangeWord:&00000000 &0001A7FC
